package com.xyht.sca_s.student_manage_system.modules.asset.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 固定资产入库申请物品
 * </p>
 *
 * @author XYHT
 * @since 2023-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_fixed_in_storage_apply_goods")
@ApiModel(value="SmsAssetFixedInStorageApplyGoods对象", description="固定资产入库申请物品")
public class SmsAssetFixedInStorageApplyGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "资产名称")
    private String assetName;

    @ApiModelProperty(value = "资产类别")
    private String assetCategory;

    @ApiModelProperty(value = "资产品牌")
    private String assetBrand;

    @ApiModelProperty(value = "资产型号")
    private String assetModel;

    @ApiModelProperty(value = "资产数量")
    private Integer assetNum;

    @ApiModelProperty(value = "资产单价")
    private BigDecimal assetPrice;

    @ApiModelProperty(value = "资产计量单位")
    private String assetUnit;

    @ApiModelProperty(value = "资产位置")
    private String assetPlace;

    @ApiModelProperty(value = "申请表id")
    private String applyId;

    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "资产寿命  单位（月）")
    private Integer assetLifetime;

    @ApiModelProperty(value = "残值率")
    private BigDecimal assetResidualRate;


}
